Checks that every function has unique name.